package com.zmx.oauth2.user.entity;

import com.zmx.common.common.entitys.BaseEntity;
import lombok.Data;

import javax.persistence.*;

/**
 * @Description: 系统用户实体
 * @ClassName: SysUser
 * @Author zhaomxr
 * @Date 2021-11-05 16:28
 */
@Data
@Entity
@Table(name = "sys_user")
@Inheritance(strategy = InheritanceType.JOINED)
public class SysUser extends BaseEntity {

    /**
     * 用户名称
     */
    @Column(name = "user_name")
    private String userName;

    /**
     * 密码
     */
    @Column(name = "pass_word")
    private String passWord;

    /**
     * 昵称
     */
    @Column(name = "nick_name")
    private String nickName;
}
